public class FizzBuzz {
    public static void main(String[] args) {
        for (int n = 1; n <= 100; n++) {
            isFizzBuzz(n);
        }
    }

    static void isFizzBuzz(int n) {
        String print = "";
        Boolean isFB = false;
        if (n % 15 == 0) {
            print = print + "FizzBuzz";
        } else if (n % 3 == 0) {
            print = print + "Fizz";
        } else if (n % 5 == 0) {
            print = print + "Buzz";
        } else {
            print = Integer.toString(n);
        }
        System.out.println(print);
    }
}